//
//  FirstXibViewController.m
//  11-Xib
//
//  Created by dllo on 16/7/28.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "FirstXibViewController.h"
//签订代理，指定代理人，实现协议方法
//指定代理人，在xib中可以通过控件向FILE‘s owner去指定，相当于self.userTextField.delegate = self;
//只需要签订代理，实现代理方法
@interface FirstXibViewController ()<UITextFieldDelegate>

@end

@implementation FirstXibViewController

//如果不更改button属性，直接拖成方法
- (IBAction)loginAction:(UIButton *)sender {
     NSLog(@"登录");
    
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
